# encoding: utf-8
# module PyQt5.QtGui
# from /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import PyQt5.QtCore as __PyQt5_QtCore


class QOpenGLContext(__PyQt5_QtCore.QObject):
    """ QOpenGLContext(QObject parent=None) """
    def aboutToBeDestroyed(self, *args, **kwargs): # real signature unknown
        """ QOpenGLContext.aboutToBeDestroyed [signal] """
        pass

    def areSharing(self, QOpenGLContext, QOpenGLContext_1): # real signature unknown; restored from __doc__
        """ QOpenGLContext.areSharing(QOpenGLContext, QOpenGLContext) -> bool """
        return False

    def create(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.create() -> bool """
        return False

    def currentContext(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.currentContext() -> QOpenGLContext """
        return QOpenGLContext

    def defaultFramebufferObject(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.defaultFramebufferObject() -> int """
        return 0

    def doneCurrent(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.doneCurrent() """
        pass

    def extensions(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.extensions() -> set-of-QByteArray """
        pass

    def format(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.format() -> QSurfaceFormat """
        return QSurfaceFormat

    def globalShareContext(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.globalShareContext() -> QOpenGLContext """
        return QOpenGLContext

    def hasExtension(self, QByteArray): # real signature unknown; restored from __doc__
        """ QOpenGLContext.hasExtension(QByteArray) -> bool """
        return False

    def isOpenGLES(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.isOpenGLES() -> bool """
        return False

    def isValid(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.isValid() -> bool """
        return False

    def makeCurrent(self, QSurface): # real signature unknown; restored from __doc__
        """ QOpenGLContext.makeCurrent(QSurface) -> bool """
        return False

    def nativeHandle(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.nativeHandle() -> QVariant """
        pass

    def openGLModuleHandle(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.openGLModuleHandle() -> sip.voidptr """
        pass

    def openGLModuleType(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.openGLModuleType() -> QOpenGLContext.OpenGLModuleType """
        pass

    def screen(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.screen() -> QScreen """
        return QScreen

    def setFormat(self, QSurfaceFormat): # real signature unknown; restored from __doc__
        """ QOpenGLContext.setFormat(QSurfaceFormat) """
        pass

    def setNativeHandle(self, QVariant): # real signature unknown; restored from __doc__
        """ QOpenGLContext.setNativeHandle(QVariant) """
        pass

    def setScreen(self, QScreen): # real signature unknown; restored from __doc__
        """ QOpenGLContext.setScreen(QScreen) """
        pass

    def setShareContext(self, QOpenGLContext): # real signature unknown; restored from __doc__
        """ QOpenGLContext.setShareContext(QOpenGLContext) """
        pass

    def shareContext(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.shareContext() -> QOpenGLContext """
        return QOpenGLContext

    def shareGroup(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.shareGroup() -> QOpenGLContextGroup """
        return QOpenGLContextGroup

    def supportsThreadedOpenGL(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.supportsThreadedOpenGL() -> bool """
        return False

    def surface(self): # real signature unknown; restored from __doc__
        """ QOpenGLContext.surface() -> QSurface """
        return QSurface

    def swapBuffers(self, QSurface): # real signature unknown; restored from __doc__
        """ QOpenGLContext.swapBuffers(QSurface) """
        pass

    def versionFunctions(self, QOpenGLVersionProfile_versionProfile=None): # real signature unknown; restored from __doc__
        """ QOpenGLContext.versionFunctions(QOpenGLVersionProfile versionProfile=None) -> object """
        return object()

    def __init__(self, QObject_parent=None): # real signature unknown; restored from __doc__
        pass

    LibGL = 0
    LibGLES = 1


